import { configureStore, combineReducers, ThunkAction, Action, applyMiddleware } from '@reduxjs/toolkit'
import appSlice from './appSlice'
import userSlice from './userSlice'
import creatorSlice from './creatorSlice'

// 模块
const store = configureStore({
  reducer: combineReducers({
    app: appSlice,
    user: userSlice,
    creator: creatorSlice,
  })
})

export default store